﻿<!DOCTYPE html>
<html>
<head>
    @{
        var releaseno = ConfigHelper.AppSetting<string>("release_no", DateTime.Now.ToString(1));
    }
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    <link rel="stylesheet" type="text/css" href="~/Css/bootstrap.css?releaseno=@releaseno" />
    <link rel="stylesheet" type="text/css" href="~/Css/bootstrap-responsive.css?releaseno=@releaseno" />
    <link rel="stylesheet" type="text/css" href="~/Css/style.css?releaseno=@releaseno" />
    <link href="~/Css/assets/css/dpl-min.css?releaseno=@releaseno" rel="stylesheet" type="text/css" />
    <link href="~/Css/assets/css/bui-min.css?releaseno=@releaseno" rel="stylesheet" type="text/css" />
    <link href="~/Css/assets/css/main-min.css?releaseno=@releaseno" rel="stylesheet" type="text/css" />
    <link href="~/Css/assets/css/page-min.css?releaseno=@releaseno" rel="stylesheet" type="text/css" />
    <link href="~/Css/pagerstyles.css?releaseno=@releaseno" rel="stylesheet" />
    <link href="~/Css/Common.css?releaseno=@releaseno" rel="stylesheet" type="text/css" />
    <script src="~/Css/assets/js/jquery-1.8.1.min.js?releaseno=@releaseno"></script>
    <script src="~/Css/assets/js/jquery.form.js?releaseno=@releaseno"></script>
    <script src="~/Css/assets/js/jquery.validate.js?releaseno=@releaseno"></script>
    <script src="~/Css/assets/js/bui.js?releaseno=@releaseno"></script>
    <script src="~/Css/assets/js/config.js?releaseno=@releaseno"></script>
    <script src="~/Css/assets/js/message/sea.js?releaseno=@releaseno"></script>
    <script src="~/Css/assets/js/message/config.js?releaseno=@releaseno"></script>
    <script src="~/Css/assets/js/JsHepler.js?releaseno=@releaseno"></script>
    <script src="~/Css/assets/js/jquery.cityselect.js?releaseno=@releaseno"></script>
    <script src="~/Css/assets/js/custommydate.js?releaseno=@releaseno"></script>
    <script src="~/Js/Common.js?releaseno=@releaseno"></script>
</head>
<body>
    <input type="hidden" id="pageid" value="@((ViewContext.RouteData.Values["controller"] +"/"+ViewContext.RouteData.Values["action"]).ToLower())" />
    <script>
        //////设置页面信息
        ////var pageid = $("#pageid").val();
        ////if (pageid) {
        ////    var nowurl = document.location.href;
        ////    var backurl = BUI.Cookie.get(pageid);
        ////    if (backurl && nowurl != backurl && nowurl.indexOf("?") < 0 && backurl.indexOf(nowurl) >= 0) {
        ////        document.location.href = backurl;
        ////    }
        ////}
    </script>
    
    @RenderBody()

    @RenderSection("scripts", required: false)
    <script>

        $(document).ready(function () {
            if (top.topManager) {
                top.topManager.setPageTitle("@ViewBag.Title");
            }
        });
    </script>
</body>
</html>
